﻿using System;
using System.Collections.Generic;
using System.Text;

using System.ComponentModel;


namespace Fu3DEngine
{
   [Serializable]
  public abstract  class NodeBase

    {
       
       public NodeBase(string id)
       {
           nid = id;
           this.desc = this.nid;
          
       }

       [Category("底层节点"), DisplayName("节点名称")]
       public string desc { get; set; }//外部表现名称

       [Browsable(false)]
       public  string nid { get; set; }

        public abstract  void ReLoad();

       [Browsable(false)]
        public SceneBase SParent { get;set;}

        public virtual  void Unload()
        {
 
        }

        public virtual void Run()
        { 

        }

    }
}
